cmake_minimum_required(VERSION 3.1)

project(cpp_tools)

add_subdirectory(flags)
add_subdirectory(dlog)
add_subdirectory(toolkit)
add_subdirectory(nec_fs)
add_subdirectory(sk_storage)

# test for all
add_subdirectory(test)

include_directories(thread_pool)
add_library(thread_pool_lib thread_pool/thread_pool.cpp)
target_link_libraries(thread_pool_lib pthread)

add_executable(th_example thread_pool/example.cpp)
target_link_libraries(th_example thread_pool_lib)